<div class="panel panel-default panel-intro">
    {:build_heading()}

    <div class="panel-body">
        <div id="myTabContent" class="tab-content">

            <div class="tab-pane fade active in" id="one">
                <div class="widget-body no-padding">
                    <div id="toolbar" class="toolbar">

                        <!--<a href="javascript:;" class="btn btn-primary btn-refresh" title="{:__('Refresh')}" ><i class="fa fa-refresh"></i> </a>
                         <a href="javascript:;" class="btn btn-success btn-add {:$auth->check('user_keep_day/add')?'':'hide'}" title="{:__('Add')}" ><i class="fa fa-plus"></i> {:__('Add')}</a>
                         <a href="javascript:;" class="btn btn-success btn-edit btn-disabled disabled {:$auth->check('user_keep_day/edit')?'':'hide'}" title="{:__('Edit')}" ><i class="fa fa-pencil"></i> {:__('Edit')}</a>
                         <a href="javascript:;" class="btn btn-danger btn-del btn-disabled disabled {:$auth->check('user_keep_day/del')?'':'hide'}" title="{:__('Delete')}" ><i class="fa fa-trash"></i> {:__('Delete')}</a>
                         <a href="javascript:;" class="btn btn-danger btn-import {:$auth->check('user_keep_day/import')?'':'hide'}" title="{:__('Import')}" id="btn-import-file" data-url="ajax/upload" data-mimetype="csv,xls,xlsx" data-multiple="false"><i class="fa fa-upload"></i> {:__('Import')}</a>-->

                        <div class="dropdown btn-group {:$auth->check('user_keep_day/multi')?'':'hide'}">
                            <!--<div class="btn-group " data-toggle="buttons">
                                <label class="btn btn-warning toggle1">
                                    <input type="radio" name="options" id="option1"><i class="fa fa-table"></i>
                                </label>
                                <label class="btn btn-warning toggle2">
                                    <input type="radio" name="options" id="option2"><i class="fa fa-bar-chart-o"></i>
                                </label>
                            </div>-->
                            <!-- <a class="btn btn-primary btn-more dropdown-toggle btn-disabled disabled" data-toggle="dropdown"><i class="fa fa-cog"></i> {:__('More')}</a>-->

                            <ul class="dropdown-menu text-left" role="menu">
                                <li><a class="btn btn-link btn-multi btn-disabled disabled" href="javascript:;" data-params="status=normal"><i class="fa fa-eye"></i> {:__('Set to normal')}</a></li>
                                <li><a class="btn btn-link btn-multi btn-disabled disabled" href="javascript:;" data-params="status=hidden"><i class="fa fa-eye-slash"></i> {:__('Set to hidden')}</a></li>
                            </ul>
                        </div>

                    </div>
                    <!--<table id="table" class="table table-striped table-bordered table-hover table-nowrap"
                           data-operate-edit="{:$auth->check('user_keep_day/edit')}"
                           data-operate-del="{:$auth->check('user_keep_day/del')}"
                           width="100%">
                    </table>-->

                    <form action="" class="form-commonsearch">
                        <div style="border-radius:2px;margin-bottom:10px;background:#f5f5f5;padding:15px 20px;">
                            <div class="row">
                                <div class="col-xs-12 col-sm-6 col-md-3">
                                    <div class="form-group">
                                        <label class="control-label">开始时间</label>
                                        <input type="hidden" class="operate" data-name="startDay" value=""/>
                                        <div>
                                            <input type="text" class="form-control datetimepicker"  value="{$startDay}" data-date-format="YYYY-MM-DD" name="startDay" data-use-current="true"/>
                                        </div>
                                    </div>
                                </div>

                                <div class="col-xs-12 col-sm-6 col-md-3">
                                    <div class="form-group">
                                        <label class="control-label">结束时间</label>
                                        <input type="hidden" class="operate" data-name="endDay" value="RANGE"/>
                                        <div>
                                            <input type="text" class="form-control datetimepicker" data-date-format="YYYY-MM-DD" data-use-current="true" name="endDay" value="{$endDay}"/>
                                        </div>
                                    </div>
                                </div>
                                <div class="col-xs-12 col-sm-6 col-md-3" style="min-height:68px;">
                                    <!--这里添加68px是为了避免刷新时出现元素错位闪屏-->
                                    <div class="form-group">
                                        <label class="control-label">留存类型</label>
                                        <input type="hidden" class="operate" data-name="field" value=""/>
                                        <div>
                                            <!--<select class="form-control operate" data-name="id" style="width:60px;">
                                                <option value="=" selected>等于</option>
                                                <option value=">">大于</option>
                                                <option value="<">小于</option>
                                            </select>-->
                                            <!--给select一个固定的高度-->
                                            <!--@formatter:off-->
                                            <select id="c-type" class="form-control operate" name="field" style="height:31px;">
                                                {foreach name="typeList" item="vo"}
                                                <option value="{$key}" {in name="key" value="" }selected{/in}>{$vo}</option>
                                                {/foreach}
                                            </select>
                                            <!--@formatter:on-->
                                        </div>
                                    </div>
                                </div>
                                <div class="col-xs-12 col-sm-6 col-md-3" style="min-height:68px;">
                                    <!--这里添加68px是为了避免刷新时出现元素错位闪屏-->
                                    <div class="form-group">
                                        <label class="control-label">留存率类型</label>
                                        <input type="hidden" class="operate" data-name="field" value=""/>
                                        <div>
                                            <!--<select class="form-control operate" data-name="id" style="width:60px;">
                                                <option value="=" selected>等于</option>
                                                <option value=">">大于</option>
                                                <option value="<">小于</option>
                                            </select>-->
                                            <!--给select一个固定的高度-->
                                            <!--@formatter:off-->
                                            <select id="c-flag" class="form-control operate" name="field" style="height:31px;">
                                                {foreach name="keepList" item="vo"}
                                                <option value="{$key}" {in name="key" value="" }selected{/in}>{$vo}</option>
                                                {/foreach}
                                            </select>
                                            <!--@formatter:on-->
                                        </div>
                                    </div>
                                </div>


                                <div class="col-xs-12 col-sm-6 col-md-3">
                                    <div class="form-group">
                                        <label class="control-label"></label>
                                        <div class="row">
                                            <div class="col-xs-6">
                                                <input type="button" class="btn btn-warning btn-block" value="搜索"/>
                                            </div>
                                            <div class="col-xs-6">
                                                <input type="reset" class="btn btn-primary btn-block" value="重置"/>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </form>


                    <table id="table" class="table table-striped table-bordered table-hover" width="100%">

                    </table>
                </div>
            </div>

        </div>
        <div id="keep" class="btn-refresh" style="display: block;height:600px;width:100%;"></div>
    </div>

</div>